Ext.define('App.view.answer.List', {
    extend: "Ext.List",
    xtype: 'answerList',
    id: "answerList",
    
    config: {
        title: '中考问答',
		fullscreen: true,
		loadingText: Global.loadingText,
		autoDestroy: false,
		onItemDisclosure: true,
        emptyText: Global.emptyText,
        plugins: [{
            xclass: 'Ext.plugin.ListPaging',
            loadMoreText: '加载更多'
        }],
        itemTpl: [
        	'<table>',
			 	'<tr>',
					'<td>',
						'<span class="legislator-list-item">',
                			'{title}',
             			'</span>',
					'</td>',
				'</tr>',
			'</table>'
		]
    }
});
